#include<iostream>
#include<cmath>
using namespace std;

int main()
{
	int a;
	cin>>a;
	cout<<(long long)pow(2, a);
	return 0;
}
